class WelcomeController < ApplicationController
  def first
    puts "first enter..."

    #重定向
    # redirect_to "https://www.baidu.com/"
  end

  def create
    uname = params[:user][:name]
    upass = params[:user][:password]
    puts "User name #{uname} user pass #{upass}."
  end

  def second
  end
end
